package com.pbc.gmp.dao;

import com.pbc.gmp.model.LeftMenuDto;
import com.pbc.gmp.model.MenuTreeResourseDto;
import com.pbc.gmp.model.basemodel.MenuRes;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author kjk
 * @since 2017-04-17
 */
@Component(value = "MenuResDao")
public interface MenuResMapper extends BaseMapper<MenuRes> {
//    public List<LeftMenuDto> selectLeftMenu();
    public List<MenuTreeResourseDto> selectAllLeftMenuByRoleId(Long id);
    public List<MenuTreeResourseDto> selectAllLeftMenu();
    public List<MenuTreeResourseDto> selectAllRes();




}